home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / OpenGL / glindexmask.z / glindexmask
Encoding:
Text File  |  2002-10-03  |  3.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllIIIInnnnddddeeeexxxxMMMMaaaasssskkkk((((3333GGGG))))                OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                ggggllllIIIInnnnddddeeeexxxxMMMMaaaasssskkkk((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllIIIInnnnddddeeeexxxxMMMMaaaasssskkkk - control the writing of individual bits in the color index
  10.      buffers
  11.  
  12.  
  13. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  14.      void ggggllllIIIInnnnddddeeeexxxxMMMMaaaasssskkkk( GLuint _m_a_s_k )
  15.  
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  18.      _m_a_s_k  Specifies a bit mask to enable and disable the writing of
  19.            individual bits in the color index buffers.  Initially, the mask is
  20.            all 1's.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      ggggllllIIIInnnnddddeeeexxxxMMMMaaaasssskkkk controls the writing of individual bits in the color index
  24.      buffers.  The least significant n bits of _m_a_s_k, where n is the number of
  25.      bits in a color index buffer, specify a mask.  Where a 1 (one) appears in
  26.      the mask, it's possible to write to the corresponding bit in the color
  27.      index buffer (or buffers). Where a 0 (zero) appears, the corresponding
  28.      bit is write-protected.
  29.  
  30.      This mask is used only in color index mode, and it affects only the
  31.      buffers currently selected for writing (see ggggllllDDDDrrrraaaawwwwBBBBuuuuffffffffeeeerrrr).  Initially,
  32.      all bits are enabled for writing.
  33.  
  34. EEEERRRRRRRROOOORRRRSSSS
  35.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllIIIInnnnddddeeeexxxxMMMMaaaasssskkkk is executed between the
  36.      execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd.
  37.  
  38. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  39.      ggggllllGGGGeeeetttt with argument GGGGLLLL____IIIINNNNDDDDEEEEXXXX____WWWWRRRRIIIITTTTEEEEMMMMAAAASSSSKKKK
  40.  
  41.  
  42. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.      ggggllllCCCCoooolllloooorrrrMMMMaaaasssskkkk, ggggllllDDDDeeeepppptttthhhhMMMMaaaasssskkkk, ggggllllDDDDrrrraaaawwwwBBBBuuuuffffffffeeeerrrr, ggggllllIIIInnnnddddeeeexxxx, ggggllllIIIInnnnddddeeeexxxxPPPPooooiiiinnnntttteeeerrrr,
  44.      ggggllllSSSStttteeeennnncccciiiillllMMMMaaaasssskkkk
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.